package com.itxf.tlias.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class EmpController {

    @GetMapping("/emps")
    public List<Emp> list() {
        log.info("查询所有员工信息");
        return empDao.list();
    }
}
